package com.chuangsi.common.enums;

/**
 * 存储目录Enum
 */
public enum CataLogEnum {
    /**
     * 默认未将不同类型的文件分开存放，若要分开存放可在存储的时候调用不同的枚举字段
     */
    IMAGE("upload/","图片存储地址")
    ,AUDIO("aduio/","音频存储地址")
    ,VIDEO("video/","视频存储地址")
    ,ATTACHMENT("attachment/","附件存储地址")
    ,REDIS_ADMIN("k_song_home:admin:","用户存储")
    ,REDIS_USER("k_song_home:user:","用户存储")
    ,REDIS_FUN("k_song_home:fun:","角色权限")
    ,CODE("verification_code:","验证码")
    ,REPEAT_SUBMIT("driver_training_api:repeatsubmit:","重复提交")
    ;

    private String value;
    private String remark;

    CataLogEnum(String value, String remark) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
